//
//  SmallDecisionsIAPHelper.h
//  SmallDecisions
//
//  Created by 李付雄 on 2025/6/14.
//

#import <Foundation/Foundation.h>

typedef void(^IAPBlocker)(NSString * _Nonnull result);
NS_ASSUME_NONNULL_BEGIN

@interface SmallDecisionsIAPHelper : NSObject

+ (void)applePayIAPWithProductId:(NSString *)productId successBlock:(IAPBlocker __nullable)successBlock  failedBlock:(IAPBlocker __nullable)failed;

+ (void)applePayIAPRestoreProductSuccessBlock:(IAPBlocker __nullable)successBlock failedBlock:(IAPBlocker __nullable)failedBlock;
@end

NS_ASSUME_NONNULL_END
